﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SaiLing.SingleSignOn.Domain.Entities.System;
using System;
using System.Collections.Generic;
using System.Text;

namespace SaiLing.SingleSignOn.Repository.Mapping.System
{
    public class UserPositionMapping : IEntityTypeConfiguration<UserPosition>
    {
        public void Configure(EntityTypeBuilder<UserPosition> builder)
        {
            builder.Ignore(x=>x.CreateTime).Ignore(x=>x.LogicRemove);
            builder.ToTable("SaiLing_System_UserPosition");
        }
    }
}
